package sgen.third.crystalball;

public class Item {
	//private
	String id;
	String name;
	String memo;
	boolean importance;
	int icon;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public boolean isImportance() {
		return importance;
	}
	public String ImportanceToString(){
		if(this.isImportance())return new String("true");
		else return new String("false");
	}
	public void setImportance(boolean importance) {
		this.importance = importance;
	}
	public int getIcon() {
		return icon;
	}
	public void setIcon(int icon) {
		this.icon = icon;
	}
	public Item(){
		this("","","",false,0);
	}
	public Item(String id,String name,String memo,boolean importance,int icon){
		this.id = id;
		this.name = name;
		this.memo = memo;
		this.importance = importance;
		this.icon = icon;
	}
	public Item(String id,String name,String memo){
		this.id = id;
		this.name = name;
		this.memo = memo;
	}
	public boolean CompareToID(String id){
		if(this.id.compareTo(id)==0) return true;
		else return false;
	}
	public void display(){}
}
